package com.personal.book1.model;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter @Setter
public class BookInfo {
    private Integer bookId;
    private String bookName;
    private String bookAuthor;
    private Integer stock;
    private BigDecimal price;
    private String publish;
    private Integer state; // 1->可借阅; 2->不可借阅

    private String stateCN;

    @Override
    public String toString() {
        return "BookInfo{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", bookAuthor='" + bookAuthor + '\'' +
                '}';
    }
}
